<extend name="Base/common"/>

<block name="head"></block>

<block name="body">
    <script type="text/javascript">
        var iurl = "{:U('Home/List/detaillist','','')}";
    </script>
    <div class="top" id="home">
        <div class='sit-header '>
            <div class="container">
                <div class="logo"><a href="{:U('Home/Index/index','','')}"><img src="__ROOT__{:get_cover($logo['image'],$field = path)}" /></a></div>
                <!--- start-nav---->
                <div class="nav_ba visible-lg visible-md" id="menu-wrapper">
                    <ul class="nav_li nav">
                        <li><a href="{:U('Home/List/list2',array('cate'=>85),'')}">{$menu[1]['title']}</a></li>
                        <li><a href="{:U('Home/List/index',array('cate'=>66),'')}">{$menu[2]['title']}</a></li>
                        <li class="active"><a href="{:U('Home/List/list_activity',array('cate'=>68),'')}">{$menu[3]['title']}</a></li>
                        <li><a href="{:U('Home/List/list2',array('cate'=>70),'')}">{$menu[4]['title']}</a></li>
                        <li><a href="{:U('Home/List/list2',array('cate'=>83),'')}">{$menu[5]['title']}</a></li>
                        <li <php>echo $cates=='84'?"class='active'":""</php>><a href="{:U('Home/Index/index',array('cate'=>84),'')}#about">{$menu[6]['title']}</a></li>
                    <li <php>echo $cates=='40'?"class='active'":""</php>><a href="{:U('Home/Index/index',array('cate'=>40),'')}#customer">{$menu[7]['title']}</a></li>
                    </ul>
                </div>
                <button class="toggle-menu visible-sm visible-xs"><i class="fa fa-bars"></i></button>
                <!--- //end-nav-->
            </div>
        </div>
    </div>

    <nav class="sMenu" >
        <h3><i class="fa fa-angle-left"></i> 菜單</h3>
        <ul>
            <li><a href="{:U('Home/List/list2',array('cate'=>85),'')}">{$menu[1]['title']}</a></li>
            <li><a href="{:U('Home/List/index',array('cate'=>66),'')}">{$menu[2]['title']}</a></li>
            <li class="active"><a href="{:U('Home/List/list_activity',array('cate'=>68),'')}" >{$menu[3]['title']}</a></li>
            <li><a href="{:U('Home/List/list2',array('cate'=>70),'')}">{$menu[4]['title']}</a></li>
            <li><a href="{:U('Home/List/list2',array('cate'=>83),'')}">{$menu[5]['title']}</a></li>
            <li <php>echo $cates=='84'?"class='active'":""</php>><a href="{:U('Home/Index/index',array('cate'=>84),'')}#about">{$menu[6]['title']}</a></li>
                    <li <php>echo $cates=='40'?"class='active'":""</php>><a href="{:U('Home/Index/index',array('cate'=>40),'')}#customer">{$menu[7]['title']}</a></li>
        </ul>
    </nav>
    <div class="container list2">
        <form id="form1" action="{:U('Home/List/list_activity',array('cate'=>68),'')}" method="post">
            <input class="type" name="types" style="display:none;" value="">           
        </form>
        <div class="tips_con">
            <volist name="types" id="type">
                <if condition="$Ntypes==$type['id']" >
                    <a href="#" class="types active">{$type['title']}</a> 
                <div style="display: none;" class="typeid">{$type['id']}</div>                    
                    <else/>
                    <a href="#" class="types">{$type['title']}</a> 
                <div style="display: none;" class="typeid">{$type['id']}</div>
                </if>
                
            </volist>

        </div>
        <div class="row">
            <volist name="lists" id="list">
                <div class="col-md-4 col-xs-6"> 
                    <a href="{:U('Home/List/page_info',array('id'=>$list['id']),'')}" class="list2_a">
                       
                        <div class="list_img div_con">
                            <img src="__ROOT__{:get_cover($list['photo'],$field = path)}" class="blur">
                        </div>
                        <h3>{$list['title']}</h3>
                    </a>
                </div>
            </volist>
        </div>
    </div>


    <!-- 彈出窗口 -->
<!--    <div id="artist_modal" class="modal fade"  tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
       <div class="modal-dialog artist_modal">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close font_blue" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title font_blue list2_title" id="myModalLabel">標題</h4>
                </div>
                <div class="modal-body">
                    詳細
                </div>
            </div>
        </div>
    </div>-->
    <!-- Messge -->       
    <block name='footer'></block>
</block>


